<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Docs For Class QueryPathExtensionRegistry</title>
	<link rel="stylesheet" type="text/css" href="../media/style.css">
	<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
	<script src="media/a.js"></script>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
	<td class="header-top-left"><img src="../media/logo.png" border="0" alt="phpDocumentor " /></td>
    <td class="header-top-right">QueryPath<br /><div class="header-top-right-subpackage"></div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
      
                        
                                                  		[ <a href="../classtrees_QueryPath.html" class="menu">class tree: QueryPath</a> ]
		[ <a href="../elementindex_QueryPath.html" class="menu">index: QueryPath</a> ]
            [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
		<div class="package-title">QueryPath</div>
  <div class="package">
	<div id="todolist">
			<p><a href="../todolist.html">Todo List</a></p>
	</div>
	</div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../li_QueryPath.html">QueryPath</a><br />
              <a href="../li_Examples.html">Examples</a><br />
              <a href="../li_Tests.html">Tests</a><br />
      	</div>
      <br />
		<b>Tutorials/Manuals:</b><br />
  <div class="package">
					<strong>Package-level:</strong>
							<ul>
	<li type="square"><a href="../QueryPath/tutorial_QueryPath.pkg.html">Using QueryPath</a>
</ul>

									                        <b>Files:</b><br />
        <div class="package">
				<span style="padding-left: 1em;"><a href="../QueryPath/_src---QueryPath---QueryPath.php.html">QueryPath.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../QueryPath/_src---QueryPath---QueryPathExtension.php.html">QueryPathExtension.php</a></span><br />
	  </div>
  <div class="package">
	<strong>CSSParser</strong><br />			<span style="padding-left: 1em;"><a href="../QueryPath/CSSParser/_src---QueryPath---CssEventHandler.php.html">CssEventHandler.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../QueryPath/CSSParser/_src---QueryPath---CssParser.php.html">CssParser.php</a></span><br />
	  </div>
  <div class="package">
	<strong>Extension</strong><br />			<span style="padding-left: 1em;"><a href="../QueryPath/Extension/_src---QueryPath---Extension---QPDB.php.html">QPDB.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../QueryPath/Extension/_src---QueryPath---Extension---QPList.php.html">QPList.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../QueryPath/Extension/_src---QueryPath---Extension---QPTPL.php.html">QPTPL.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../QueryPath/Extension/_src---QueryPath---Extension---QPXML.php.html">QPXML.php</a></span><br />
	  </div>
  <div class="package">
	<strong>Internals</strong><br />			<span style="padding-left: 1em;"><a href="../QueryPath/Internals/_src---QueryPath---QueryPathImpl.php.html">QueryPathImpl.php</a></span><br />
	  </div>
            <br />
            <b>Interfaces:</b><br />
        <div class="package">
	CSSParser<br />	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/CssEventHandler.html">CssEventHandler</a>    </span>	 <br />
	  </div>
  <div class="package">
	Extension<br />	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/TableAble.html">TableAble</a>    </span>	 <br />
	  </div>
  <div class="package">
		    		<a href="../QueryPath/QueryPath.html">QueryPath</a>    	 <br />
	    		<a href="../QueryPath/QueryPathExtension.html">QueryPathExtension</a>    	 <br />
	  </div>
                  <b>Classes:</b><br />
        <div class="package">
	CSSParser<br />	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/CssInputStream.html">CssInputStream</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/CSSParseException.html">CSSParseException</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/CssParser.html">CssParser</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/CssScanner.html">CssScanner</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/CssToken.html">CssToken</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/NamespaceMap.html">NamespaceMap</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/NegationCssEventHandler.html">NegationCssEventHandler</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/NotImplementedException.html">NotImplementedException</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/QueryPathCssEventHandler.html">QueryPathCssEventHandler</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/CSSParser/UniqueElementList.html">UniqueElementList</a>    </span>	 <br />
	  </div>
  <div class="package">
	Extension<br />	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/QPDB.html">QPDB</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/QPList.html">QPList</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/QPTableData.html">QPTableData</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/QPTableTextData.html">QPTableTextData</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/QPTPL.html">QPTPL</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/Extension/QPXML.html">QPXML</a>    </span>	 <br />
	  </div>
  <div class="package">
		    		<a href="../QueryPath/QueryPathException.html">QueryPathException</a>    	 <br />
	    		<a href="../QueryPath/QueryPathExtensionRegistry.html">QueryPathExtensionRegistry</a>    	 <br />
	  </div>
  <div class="package">
	Internals<br />	    <span style="padding-left: 1em;">		<a href="../QueryPath/Internals/QueryPathImpl.html">QueryPathImpl</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../QueryPath/Internals/QueryPathIterator.html">QueryPathIterator</a>    </span>	 <br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: QueryPathExtensionRegistry</h1>
Source Location: /src/QueryPath/QueryPathExtension.php<br /><br />

<h2 class="class-name">Class QueryPathExtensionRegistry</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Class Overview</div>
	<div class="nav-bar">
					<span class="disabled">Class Overview</span>
						
											| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
														| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
								</div>
	<div class="info-box-body">
		<table width="100%" border="0">
		<tr><td valign="top" width="60%" class="class-overview">

        		<p align="center" class="short-description"><strong>A registry for QueryPath extensions.
</strong></p>
<span class="description"><p>QueryPath extensions should call the <a href="../QueryPath/QueryPathExtensionRegistry.html#methodextend">QueryPathExtensionRegistry::extend()</a>  function to register their extension classes. The QueryPath library then  uses this information to determine what QueryPath extensions should be loaded and  executed.</p></span>
		<p class="notes">
			Located in <a class="field" href="_src---QueryPath---QueryPathExtension.php.html">/src/QueryPath/QueryPathExtension.php</a> [<span class="field">line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a82">82</a></span>]
		</p>

		
		<pre></pre>

		
		
		
		</td>

				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_vars">Properties</a></strong></p>
		<ul>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#var$extensionMethodRegistry">$extensionMethodRegistry</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#var$extensionRegistry">$extensionRegistry</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#var$useRegistry">$useRegistry</a></li>
		  		</ul>
		</td>
		
				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
		<ul>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#methodautoloadExtensions">autoloadExtensions</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#methodextend">extend</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#methodgetExtensions">getExtensions</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#methodgetMethodClass">getMethodClass</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#methodhasExtension">hasExtension</a></li>
		  		  <li><a href="../QueryPath/QueryPathExtensionRegistry.html#methodhasMethod">hasMethod</a></li>
		  		</ul>
		</td>
		
		</tr></table>
		<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
</div>




	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Property Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									| <span class="disabled">Property Summary</span> | <a href="#sec-vars">Properties Detail</a>
												| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
							    				</div>
		<div class="info-box-body">
			<div class="var-summary">
			<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
										<div class="var-title">
					<tr><td class="var-title">static <span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$extensionMethodRegistry" title="details" class="var-name-summary">$extensionMethodRegistry</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description"></td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title">static <span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$extensionRegistry" title="details" class="var-name-summary">$extensionRegistry</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">The extension registry. This should consist of an array of class  names.</td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title">static <span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$useRegistry" title="details" class="var-name-summary">$useRegistry</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">Internal flag indicating whether or not the registry should  be used for automatic extension loading. If this is false, then  implementations should not automatically load extensions.</td></tr>
				</div>
																															</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
							    					| <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
		</div>
		<div class="info-box-body">
			<div class="method-summary">
				<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
												<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">void</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#autoloadExtensions" title="details" class="method-name">autoloadExtensions</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Enable or disable automatic extension loading.</td></tr>
				</div>
																<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">void</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#extend" title="details" class="method-name">extend</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Extend QueryPath with the given extension class.</td></tr>
				</div>
																<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">array</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#getExtensions" title="details" class="method-name">getExtensions</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Get extensions for the given QueryPath object.</td></tr>
				</div>
																<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">string</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#getMethodClass" title="details" class="method-name">getMethodClass</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Get the class that a given method belongs to.</td></tr>
				</div>
																<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">boolean</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#hasExtension" title="details" class="method-name">hasExtension</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Check to see if the given extension class is registered.</td></tr>
				</div>
																<div class="method-definition">
					<tr><td class="method-definition">static
											<span class="method-result">boolean</span>&nbsp;&nbsp;
					</td>
					<td class="method-definition"><a href="#hasMethod" title="details" class="method-name">hasMethod</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Check to see if a method is known.</td></tr>
				</div>
																																																																</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Properties</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
													| <a href="#sec-var-summary">Property Summary</a> | <span class="disabled">Properties Detail</span>
															| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
												</div>
		<div class="info-box-body">
			<a name="var$extensionMethodRegistry" id="$extensionMethodRegistry"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$extensionMethodRegistry</span>
			 = <span class="var-default">array()</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a94">94</a>]</span>
		</span>
	</div>

		<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$extensionRegistry" id="$extensionRegistry"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$extensionRegistry</span>
			 = <span class="var-default">array()</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a93">93</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The extension registry. This should consist of an array of class  names.
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$useRegistry" id="$useRegistry"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>&nbsp;&nbsp;
			<span class="var-name">$useRegistry</span>
			 = <span class="var-default"> TRUE</span>			<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a88">88</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>Internal flag indicating whether or not the registry should  be used for automatic extension loading. If this is false, then  implementations should not automatically load extensions.
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
																	| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
					</div>
		<div class="info-box-body">
			<a name='method_detail'></a>
<a name="methodautoloadExtensions" id="autoloadExtensions"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">static method autoloadExtensions</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a181">181</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static void autoloadExtensions(
[
$boolean = TRUE]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Enable or disable automatic extension loading.
</strong></p>
<span class="description"><p>If extension autoloading is disabled, then QueryPath will not  automatically load all registred extensions when a new QueryPath  object is created using <a href="../QueryPath/_src---QueryPath---QueryPath.php.html#functionqp">qp()</a>.</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$boolean:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodextend" id="extend"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">static method extend</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a98">98</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static void extend(

$classname&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Extend QueryPath with the given extension class.
</strong></p>

			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$classname:&nbsp;</span></td>
				<td>
							</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetExtensions" id="getExtensions"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">static method getExtensions</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a166">166</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static array getExtensions(
<a href="../QueryPath/QueryPath.html">QueryPath</a>
$qp&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Get extensions for the given QueryPath object.
</strong></p>
<span class="description"><p>Given a <a href="../QueryPath/QueryPath.html">QueryPath</a> object, this will return  an associative array of extension names to (new) instances.  Generally, this is intended to be used internally.</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type"><a href="../QueryPath/QueryPath.html">QueryPath</a></span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$qp:&nbsp;</span></td>
				<td>
				<span class="var-description"> The QueryPath into which the extensions should be registered.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>An associative array of classnames to instances.</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetMethodClass" id="getMethodClass"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">static method getMethodClass</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a150">150</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static string getMethodClass(
string
$name&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Get the class that a given method belongs to.
</strong></p>
<span class="description"><p>Given a method name, this will check all registered extension classes  to see if any of them has the named method. If so, this will return  the classname.</p><p>Note that if two extensions are registered that contain the same  method name, the last one registred will be the only one recognized.</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The name of the method.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>The name of the class.</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodhasExtension" id="hasExtension"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">static method hasExtension</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a132">132</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static boolean hasExtension(
string
$name&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Check to see if the given extension class is registered.
</strong></p>
<span class="description"><p>Given a class name for a <a href="../QueryPath/QueryPathExtension.html">QueryPathExtension</a> class, this  will check to see if that class is registered. If so, it will return  TRUE.</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The name of the class.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>TRUE if the class is registered, FALSE otherwise.</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodhasMethod" id="hasMethod"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">static method hasMethod</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_QueryPath__srcQueryPathQueryPathExtension.php.html#a117">117</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>static boolean hasMethod(
string
$name&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Check to see if a method is known.
</strong></p>
<span class="description"><p>This checks to see if the given method name belongs to one of the  registered extensions. If it does, then this will return TRUE.</p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$name:&nbsp;</span></td>
				<td>
				<span class="var-description"> The name of the method to search for.</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>TRUE if the method exists, false otherwise.</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>

		</div>
	</div>


        <div class="credit">
		    <hr class="separator" />
		    Documentation generated on Thu, 19 Mar 2009 18:01:19 -0500 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.2</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>